package com.atguigu.polymophism;

public class Cat extends Animal{//猫
    @Override
    public void eat() {
        System.out.println("猫吃老鼠");
    }
    public void catchMouse(){
        System.out.println("抓老鼠");
    }
}
